package com.engine4cloud.tdf.common.core.constant.enums;

import jakarta.persistence.EnumType;
import jakarta.persistence.Enumerated;
import lombok.Getter;

import java.io.Serializable;

/**
 * 简易审批动作普通流程节点
 */
@Getter
public enum BriefAuditActionStatusEnum implements Serializable {
    CREATE("CREATE", "创建", "待审核"),

    /**
     * 审核通过流程结束
     */
    AUDIT("AUDIT", "审核", "已结束"),

    /**
     * 县局拒绝流程结束
     */
    REFUSE("REFUSE", "拒绝", "审核拒绝");

    @Enumerated(EnumType.STRING)
    private String type;
    private String desc;
    private String status;

    BriefAuditActionStatusEnum(String type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    BriefAuditActionStatusEnum(String type, String desc, String status) {
        this.type = type;
        this.desc = desc;
        this.status = status;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
